home *** CD-ROM | disk | FTP | other *** search
/ Gigantic Games 2 / Gigantic Games 2.iso / pc / _w_ / wordsearch / installlibrary next >
Text File  |  1994-12-23  |  758b  |  26 lines

  1. .K ""
  2. echo "This script will install req.library, after checking to see if"
  3. echo "you already have one.  If so, it will check the version numbers"
  4. echo "of the installed one, and the one in this directory, and give"
  5. echo "you the option of installing the one found here."
  6. echo ""
  7.  
  8. if not EXISTS libs:req.library
  9.     echo "No existing library, installing libs:req.library..."
  10.     copy libs/req.library libs:req.library
  11. else
  12.     echo "Examine the version numbers of each library."
  13.     echo ""
  14.     version libs:req.library
  15.     version libs/req.library
  16.     echo ""
  17.     ask "Do you wish to overwrite libs:req.library?"
  18.     if WARN
  19.         echo "Updating libs:req.library..."
  20.         copy libs/req.library libs:req.library
  21.     endif
  22. endif
  23.  
  24. echo "All Done.  Click close gadget to get rid of window."
  25. endcli
  26.